package com.archer.data.access;

import com.archer.data.model.AppUser;
import com.archer.data.model.PageObject;

import java.util.List;

/**
 * 资源中心用户操作接口
 */
public interface AppUserAccess extends Accessor {

	public AppUser insert(AppUser appUser);
	
    public AppUser getByUserName(String username);
    
    public AppUser get(Integer id);
    
    public List<AppUser> getAll();
    
    public PageObject<AppUser> getListByNameAndGroup(String name, String group, PageObject<AppUser> pageObject);
    
    public int delete(Integer id);
    
    public int update(AppUser appUser);
}
